package com.pfsoft.controller.admin;/**
 * @author PF
 * Created by dell on 2018-04-10.
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * com.pfsoft.controller.admin
 *
 * @author PF
 * @create 2018-04-10 9:10
 **/
@Controller
@RequestMapping("/admin")
public class AdminArticleController {

    @RequestMapping(value ="/article/add",method = RequestMethod.GET)
    public String doAdd() {
        return "/admin/article/article_add";
    }

    @RequestMapping(value ="/article/edit",method = RequestMethod.GET)
    public String doEdit() {
        return "/admin/article/article_edit";
    }

    @RequestMapping("article/edittest")
    public String artlcieEdittest()
    {
        return "/admin/article/blog_edit";
    }

}
